<!doctype html>
<html lang="zh-CN">
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
  <title>导航</title>

  <!-- Bootstrap -->
  <link rel="stylesheet" href="lib/bootstrap.min.css">
  <!-- jQuery (Bootstrap 的所有 JavaScript 插件都依赖 jQuery，所以必须放在前边) -->
  <script src="lib/jquery-3.2.1.min.js"></script>
  <!-- 加载 Bootstrap 的所有 JavaScript 插件。你也可以根据需要只加载单个插件。 -->
  <script src="lib/bootstrap.min.js"></script>
  <style>
    * {
      margin: 0;
      padding: 0;
    }
     a {
       text-decoration: none;
     }
    .searchbox .search {
      width: 600px;
      height: 40px;
      border: 2px solid #e2231a;
      font-size: 14px;
      margin: 30px 0 60px 50px;
    }
    .searchbox .sub {
      display: inline-block;
      width: 100px;
      height: 40px;
      background-color: #e2231a;
      border: 1px solid #e2231a;
      color: #fff;
    }
    .logo {
      width: 100px;
      height: 100px;
      margin-left: 300px;
    }
    .cluster {
      width: 500px;
      height: 50px;
      text-align: center;
      margin: 0 auto 0 auto;
    }
    .cluster .content {
      font-size: 16px;
      overflow: hidden;
    }


  </style>
</head>
<body>
  <nav class="navbar navbar-default">
  <div class="container-fluid">
    <!-- Brand and toggle get grouped for better mobile display -->
    <div class="navbar-header">
      <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
        <span class="sr-only">Toggle navigation</span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
      </button>
    </div>

    <!-- Collect the nav links, forms, and other content for toggling -->
    <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
      <ul class="nav navbar-nav">
        <li class="active"><a href="#" style="margin-left: 300px">去登陆 <span class="sr-only">(current)</span></a></li>
        <li><a href="#">免费注册</a></li>
        <li class="dropdown">
          <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false" >客户服务<span class="caret"></span></a>
        <li>
        <li>
          <ul class="dropdown-menu">
            <li><a href="#">帮助中心</a></li>
            <li><a href="#">Another action</a></li>
            <li><a href="#">Something else here</a></li>
            <li role="separator" class="divider"></li>
            <li><a href="#">Separated link</a></li>
            <li role="separator" class="divider"></li>
            <li><a href="#">One more separated link</a></li>
          </ul>
        </li>
      </ul>
      <ul class="nav navbar-nav navbar-right">
        <li><a href="#" >我的订单</a></li>
        <li class="dropdown">
          <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">我的旧淘 <span class="caret"></span></a>
          <ul class="dropdown-menu">
            <li><a href="#">Action</a></li>
            <li><a href="#">Another action</a></li>
            <li><a href="#">Something else here</a></li>
            <li role="separator" class="divider"></li>
            <li><a href="#">Separated link</a></li>
          </ul>
        </li>
      </ul>
    </div><!-- /.navbar-collapse -->
   </div><!-- /.container-fluid -->
  </nav>
  <div class="searchbox">
      <img src="logo.jpg" class="logo">
      <input type="text" class="search" placeholder="    搜索你感兴趣的内容" >
      <input type="button" class="sub" value="搜索">
  </div>
<div class="cluster">
  <div class="content">
    <span class="second-hand">二手回收</span>
    <span class="borrow">校园租赁</span>
    <span class="lose">失物招领</span>
    <span class="find">寻物启事</span>
    <span class="blog">二手论坛</span>
  </div>
</div>

<!--轮播图-->
  <div class="show" align="center">
  <div id="carousel-example-generic" class="carousel slide" data-ride="carousel" style="width: 500px">
    <!-- Indicators -->
    <ol class="carousel-indicators">
      <li data-target="#carousel-example-generic" data-slide-to="0" class="active"></li>
      <li data-target="#carousel-example-generic" data-slide-to="1"></li>
      <li data-target="#carousel-example-generic" data-slide-to="2"></li>
    </ol>

    <!-- Wrapper for slides -->
    <div class="carousel-inner" role="listbox">
      <div class="item active">
        <img src="1.jpg" alt="..." style="width:600px;height: 300px">
        <div class="carousel-caption">
          ...
        </div>
      </div>
      <div class="item">
        <img src="2.jpg" alt="..." style="width:600px;height: 300px">
        <div class="carousel-caption">
          ...
        </div>
      </div>
      ...
    </div>

    <!-- Controls -->
    <a class="left carousel-control" href="#carousel-example-generic" role="button" data-slide="prev">
      <span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span>
      <span class="sr-only">Previous</span>
    </a>
    <a class="right carousel-control" href="#carousel-example-generic" role="button" data-slide="next">
      <span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
      <span class="sr-only">Next</span>
    </a>
  </div>
  </div>
</body>
</html>